package org.springcloud.plugin.config.center.constant;

import org.springcloud.plugin.common.constant.DiscoveryConstant;

/**
 * @Author yanggld
 * @Date 2019/12/16-18:38
 * @Description
 */
public class ConfigConstant {
	public static final String REGISTER_ELEMENT_NAME = "register";
	public static final String DISCOVERY_ELEMENT_NAME = "discovery";
	public static final String STRATEGY_ELEMENT_NAME = "strategy";
	public static final String STRATEGY_CUSTOMIZATION_ELEMENT_NAME = "strategy-customization";
	public static final String WHITELIST_ELEMENT_NAME = "whitelist";
	public static final String FILTER_VALUE_ATTRIBUTE_NAME = "filter-value";
	public static final String SEPARATE = ";";
	public static final String SERVICE_ELEMENT_NAME = "service";
	public static final String CONDITIONS_ELEMENT_NAME = "conditions";
	public static final String CONDITION_ELEMENT_NAME = "condition";
	public static final String ROUTES_ELEMENT_NAME = "routes";
	public static final String ROUTE_ELEMENT_NAME = "route";
	public static final String VERSION_ELEMENT_NAME = DiscoveryConstant.VERSION;
	public static final String REGION_ELEMENT_NAME = DiscoveryConstant.REGION;
	public static final String VERSION_WEIGHT_ELEMENT_NAME = DiscoveryConstant.VERSION_WEIGHT;
	public static final String REGION_WEIGHT_ELEMENT_NAME = DiscoveryConstant.REGION_WEIGHT;
	public static final String WEIGHT_ELEMENT_NAME = "weight";
	public static final String CONSUMER_SERVICE_NAME_ATTRIBUTE_NAME = "consumer-service-name";
	public static final String PROVIDER_SERVICE_NAME_ATTRIBUTE_NAME = "provider-service-name";
	public static final String CONSUMER_VERSION_VALUE_ATTRIBUTE_NAME = "consumer-version-value";
	public static final String PROVIDER_VERSION_VALUE_ATTRIBUTE_NAME = "provider-version-value";
	public static final String CONSUMER_REGION_VALUE_ATTRIBUTE_NAME = "consumer-region-value";
	public static final String PROVIDER_REGION_VALUE_ATTRIBUTE_NAME = "provider-region-value";
	public static final String PROVIDER_WEIGHT_VALUE_ATTRIBUTE_NAME = "provider-weight-value";
	public static final String TYPE_ATTRIBUTE_NAME = "type";
	public static final String ID_ATTRIBUTE_NAME = "id";
	public static final String HEADER_ATTRIBUTE_NAME = "header";

}
